﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace Defero.Model
{
    public class Employee : PersistibleObject
    {
        #region Fields
        public Person Person { get; set; }
        public string DisplayName { get; set; }
        public string Password { get; set; }
        #endregion
        #region Collections
        ObservableCollection<Specialty> specialties;
        public ICollection<Specialty> Specialties 
        {
            get { return specialties; }
        }
        ObservableCollection<Sale> sales;
        public ICollection<Sale> Sales
        {
            get { return sales; }
        }
        #endregion
        #region Constructors
        public Employee() 
        {
            specialties = new ObservableCollection<Specialty>();
            sales = new ObservableCollection<Sale>();
        }
        #endregion
    }
}
